package com.francis.test;

import com.francis.spring.framework.context.FrancisApplicationContext;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author Francis
 * @Date 2020/10/25 1:21
 * @Version 1.0
 */
public class test {
    public static void main(String[] args) throws Exception {
//        ApplicationContext dadas = new ClassPathXmlApplicationContext("com.francis.spring.mvcframework");
        FrancisApplicationContext context = new FrancisApplicationContext("classpath:application.properties");
        Object object = context.getBean("francisAction");

        System.out.println(object);
    }
}
